﻿using Entity;
using IBLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL.Two
{
    public class Student : IStudent
    {
        private readonly string bllName = "BLL.Two.Student   ";

        public void GetStudent()
        {
            Console.WriteLine(bllName + "   void GetStudent()");
        }

        public void GetStudent(string name)
        {
            Console.WriteLine(bllName + "   void GetStudent(string name)");
        }

        public void GetStudent(int id)
        {
            Console.WriteLine(bllName + "   void GetStudent(int id)");
        }

        public void GetStudent(int? id)
        {
            Console.WriteLine(bllName + "   void GetStudent(int? id)");
        }

        public string GetStudent(bool flag)
        {
            Console.WriteLine(bllName + "   string GetStudent(bool flag)");
            return flag.ToString();
        }

        public void GetStudent(string name, string nameTo = "name")
        {
            Console.WriteLine(bllName + "   void GetStudent(string name, string nameTo = \"name\")");
        }

        public void GetStudent(string name, params int[] ids)
        {
            Console.WriteLine(bllName + "   void GetStudent(string name, params int[] ids)");
        }

        public StudentEntity GetStudent(StudentEntity entity)
        {
            Console.WriteLine(bllName + "   StudentEntity GetStudent(StudentEntity entity)");
            return entity;
        }

        public T GetStudent<T>(T entity)
        {
            Console.WriteLine(bllName + "   T GetStudent<T>(T entity)");
            return entity;
        }
    }
}
